Total Complexity | 30 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 181 |
Lines of code | 92 |
Logical lines of code | 52 |
Comment lines | 55 |
Methods | 13 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_notice_if_should() | 54 | 8 | 21 | |
add_checkout_notice_to_fragments() | 56 | 5 | 19 | |
get_free_shipping_notice_data() | 64 | 3 | 10 | |
should_add_notice_on_current_page() | 78 | 2 | 3 | |
print_notice() | 68 | 2 | 7 | |
get_notice_message() | 69 | 2 | 7 | |
prepare_notice_text() | 71 | 2 | 5 | |
__construct() | 74 | 1 | 5 | |
hooks() | 79 | 1 | 3 | |
add_checkout_notice_container() | 80 | 1 | 3 | |
get_left_free_shipping_notice_container() | 79 | 1 | 3 | |
get_container_class() | 79 | 1 | 3 | |
get_fragments_id() | 78 | 1 | 3 |